package com.danbay.cloud.deviceaccess.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 上报水表水量
 *
 * @author SJG
 *         2017/11/21.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReportWm {

    @JsonProperty("dev_id")
    private String devId;

    /**
     * 表示水量，单位吨
     */
    @JsonProperty("flow_value")
    private Integer value;
}
